<!doctype html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>这是保存</title>
</head>

<body>
<form th:action="@{/user/insert}" method="post">


    <!--
    user.uid,user.username
    username=value
    uid=value
    -->

    <table id="userTab" style="border-collapse: collapse">
        <tr>
            <th>姓名：</th>
            <td>
                <input name="username"/>
            </td>
        </tr>
        <tr>
            <th>密码：</th>
            <td>
                <input name="userpwd"/>
            </td>
        </tr>
        <tr>
            <th>用户类型：</th>
            <td>
                <input name="usertype"/>
            </td>
        </tr>
        <tr>
            <th>学生生日：</th>
            <td>
                <input type="date" name="usertime"/>
            </td>
        </tr>
        <tr>
            <th>所属数据库：</th>
            <td>
                <input type="text" name="dbName"/>
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <input type="submit" value="保存" />
            </td>
        </tr>
    </table>
</form>
</body>

</html>